<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>mipicsiss: xmipi_example.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">mipicsiss
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xmipi__example_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">xmipi_example.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file demonstrates the Xilinx MIPI CSI2 Rx Subsystem and MIPI DSI2 Tx Subsystem. </p>
<p>The video pipeline is created by connecting an IMX274 Camera sensor to the MIPI CSI2 Rx Subsystem. The sensor is programmed to generate RAW10 type de bayered data as per the pipeline configuration. The raw pixels are fed to Xilinx Demosaic, Gamma lut and v_proc_ss IPs to convert pixel to RGB format. The RGB pixels are then sent across to a data Video Test Pattern Generator. In a pass through mode, the camera data is passed to an AXI Stream broadcaster. This sends across video stream to along HDMI Tx Subsystem and a Video Processing Subsystem configured as Scalar. The output of the scalar is connected to the DSI2 Tx Subsystem. The DSI2 output is connected to AUO Asus Display panel with 1920x1200 fixed resolution</p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who    Date     Changes
</p>
<hr/>
<p>
1.00  pg    12/07/17 Initial release.
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a9e3c02ccaf71eeda39e2524f2fb02a41"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a9e3c02ccaf71eeda39e2524f2fb02a41">I2C_MUX_ADDR</a>&#160;&#160;&#160;0x74</td></tr>
<tr class="memdesc:a9e3c02ccaf71eeda39e2524f2fb02a41"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C Mux Address.  <a href="#a9e3c02ccaf71eeda39e2524f2fb02a41">More...</a><br/></td></tr>
<tr class="separator:a9e3c02ccaf71eeda39e2524f2fb02a41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71bd0b63917e21a117972939353bda39"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a71bd0b63917e21a117972939353bda39">I2C_CLK_ADDR</a>&#160;&#160;&#160;0x68</td></tr>
<tr class="memdesc:a71bd0b63917e21a117972939353bda39"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C Clk Address.  <a href="#a71bd0b63917e21a117972939353bda39">More...</a><br/></td></tr>
<tr class="separator:a71bd0b63917e21a117972939353bda39"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:adcbba64f9438ee7f171f2718c6324474"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#adcbba64f9438ee7f171f2718c6324474">I2cMux</a> (void)</td></tr>
<tr class="memdesc:adcbba64f9438ee7f171f2718c6324474"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function setup SI5324 clock generator over IIC.  <a href="#adcbba64f9438ee7f171f2718c6324474">More...</a><br/></td></tr>
<tr class="separator:adcbba64f9438ee7f171f2718c6324474"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13f636ef2d93d7ee10e421e5f604a510"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a13f636ef2d93d7ee10e421e5f604a510">I2cClk</a> (u32 InFreq, u32 OutFreq)</td></tr>
<tr class="memdesc:a13f636ef2d93d7ee10e421e5f604a510"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function setup SI5324 clock generator either in free or locked mode.  <a href="#a13f636ef2d93d7ee10e421e5f604a510">More...</a><br/></td></tr>
<tr class="separator:a13f636ef2d93d7ee10e421e5f604a510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc524e092889eb6825e874b8a94fa38b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#adc524e092889eb6825e874b8a94fa38b">EnableColorBar</a> (XVphy *VphyPtr, XV_HdmiTxSs *HdmiTxSsPtr, XVidC_VideoMode VideoMode, XVidC_ColorFormat ColorFormat, XVidC_ColorDepth Bpc)</td></tr>
<tr class="memdesc:adc524e092889eb6825e874b8a94fa38b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the ColorBar.  <a href="#adc524e092889eb6825e874b8a94fa38b">More...</a><br/></td></tr>
<tr class="separator:adc524e092889eb6825e874b8a94fa38b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a846e1e9bf2b5575fd4dcd158ca6e044b"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a846e1e9bf2b5575fd4dcd158ca6e044b">InitStreamMuxGpio</a> (void)</td></tr>
<tr class="memdesc:a846e1e9bf2b5575fd4dcd158ca6e044b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes GPIO IP for Stream Switch selection and gets config parameters.  <a href="#a846e1e9bf2b5575fd4dcd158ca6e044b">More...</a><br/></td></tr>
<tr class="separator:a846e1e9bf2b5575fd4dcd158ca6e044b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14b96491d9e48ad8fadbbb391d097ab6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a14b96491d9e48ad8fadbbb391d097ab6">Info</a> (void)</td></tr>
<tr class="memdesc:a14b96491d9e48ad8fadbbb391d097ab6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function outputs the video timing , Audio, Link Status, HDMI RX state of HDMI RX core.  <a href="#a14b96491d9e48ad8fadbbb391d097ab6">More...</a><br/></td></tr>
<tr class="separator:a14b96491d9e48ad8fadbbb391d097ab6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0e2b7e475ed03270d5000ad9bd4e923"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#ac0e2b7e475ed03270d5000ad9bd4e923">CloneTxEdid</a> (void)</td></tr>
<tr class="memdesc:ac0e2b7e475ed03270d5000ad9bd4e923"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clones the EDID of the connected sink device to the HDMI RX.  <a href="#ac0e2b7e475ed03270d5000ad9bd4e923">More...</a><br/></td></tr>
<tr class="separator:ac0e2b7e475ed03270d5000ad9bd4e923"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a5ac3a38401a55659af4cf0a4a765b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a4a5ac3a38401a55659af4cf0a4a765b0">XV_ConfigTpg</a> (XV_tpg *InstancePtr)</td></tr>
<tr class="memdesc:a4a5ac3a38401a55659af4cf0a4a765b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates video pattern.  <a href="#a4a5ac3a38401a55659af4cf0a4a765b0">More...</a><br/></td></tr>
<tr class="separator:a4a5ac3a38401a55659af4cf0a4a765b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a815be228f3c0f5df1cb4624e60e1c5d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a815be228f3c0f5df1cb4624e60e1c5d3">ResetTpg</a> (void)</td></tr>
<tr class="memdesc:a815be228f3c0f5df1cb4624e60e1c5d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets TPG IP.  <a href="#a815be228f3c0f5df1cb4624e60e1c5d3">More...</a><br/></td></tr>
<tr class="separator:a815be228f3c0f5df1cb4624e60e1c5d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72dc2cf47df7366bd814007b9a38f9a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a72dc2cf47df7366bd814007b9a38f9a3">EnableDSI</a> ()</td></tr>
<tr class="memdesc:a72dc2cf47df7366bd814007b9a38f9a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables MIPI DSI SS.  <a href="#a72dc2cf47df7366bd814007b9a38f9a3">More...</a><br/></td></tr>
<tr class="separator:a72dc2cf47df7366bd814007b9a38f9a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcfc70f9d157a135796b76f00bef36c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#afcfc70f9d157a135796b76f00bef36c4">SelectDSIOutput</a> (void)</td></tr>
<tr class="memdesc:afcfc70f9d157a135796b76f00bef36c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function programs GPIO to 1 to select MIPI DSI SS Stream Path in AXI- Stream switch.  <a href="#afcfc70f9d157a135796b76f00bef36c4">More...</a><br/></td></tr>
<tr class="separator:afcfc70f9d157a135796b76f00bef36c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56f64108083ce8ee138d8f0448b28fd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a56f64108083ce8ee138d8f0448b28fd9">SelectHDMIOutput</a> (void)</td></tr>
<tr class="memdesc:a56f64108083ce8ee138d8f0448b28fd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function programs GPIO to '0' to select HDMI Stream path in AXI-Stream switch.  <a href="#a56f64108083ce8ee138d8f0448b28fd9">More...</a><br/></td></tr>
<tr class="separator:a56f64108083ce8ee138d8f0448b28fd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d6479cb60c1d56d8f2b0bffd93dbe15"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a0d6479cb60c1d56d8f2b0bffd93dbe15">config_csi_cap_path</a> ()</td></tr>
<tr class="memdesc:a0d6479cb60c1d56d8f2b0bffd93dbe15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function to initialize the video pipleline and process user input.  <a href="#a0d6479cb60c1d56d8f2b0bffd93dbe15">More...</a><br/></td></tr>
<tr class="separator:a0d6479cb60c1d56d8f2b0bffd93dbe15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b0d2b849482971534222077f2949418"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a9b0d2b849482971534222077f2949418">ReportStreamMode</a> (XV_HdmiTxSs *HdmiTxSsPtr, u8 <a class="el" href="xmipi__menu_8c.html#a2d5525edd4cf0958da26f4eb70d24b85">IsPassThrough</a>)</td></tr>
<tr class="memdesc:a9b0d2b849482971534222077f2949418"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reports the stream mode.  <a href="#a9b0d2b849482971534222077f2949418">More...</a><br/></td></tr>
<tr class="separator:a9b0d2b849482971534222077f2949418"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac493d3aecd3ba27b1c359fac5403bcc4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#ac493d3aecd3ba27b1c359fac5403bcc4">TxConnectCallback</a> (void *CallbackRef)</td></tr>
<tr class="memdesc:ac493d3aecd3ba27b1c359fac5403bcc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when a TX connect event has occurred.  <a href="#ac493d3aecd3ba27b1c359fac5403bcc4">More...</a><br/></td></tr>
<tr class="separator:ac493d3aecd3ba27b1c359fac5403bcc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac75e4a2188fc703e5595b9da7b9ae87d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#ac75e4a2188fc703e5595b9da7b9ae87d">VphyHdmiTxInitCallback</a> (void *CallbackRef)</td></tr>
<tr class="memdesc:ac75e4a2188fc703e5595b9da7b9ae87d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when the GT TX reference input clock has changed.  <a href="#ac75e4a2188fc703e5595b9da7b9ae87d">More...</a><br/></td></tr>
<tr class="separator:ac75e4a2188fc703e5595b9da7b9ae87d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf58ba0d5d5eb70e9e1af8c2a786298a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#abf58ba0d5d5eb70e9e1af8c2a786298a">VphyHdmiTxReadyCallback</a> (void *CallbackRef)</td></tr>
<tr class="memdesc:abf58ba0d5d5eb70e9e1af8c2a786298a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when the GT TX has been initialized.  <a href="#abf58ba0d5d5eb70e9e1af8c2a786298a">More...</a><br/></td></tr>
<tr class="separator:abf58ba0d5d5eb70e9e1af8c2a786298a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a867454807fce16217777a7c356010b5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a867454807fce16217777a7c356010b5a">TxVsCallback</a> (void *CallbackRef)</td></tr>
<tr class="memdesc:a867454807fce16217777a7c356010b5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when a TX vsync has occurred.  <a href="#a867454807fce16217777a7c356010b5a">More...</a><br/></td></tr>
<tr class="separator:a867454807fce16217777a7c356010b5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d9aa9958743b89bbebf1e4fc360cccc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a1d9aa9958743b89bbebf1e4fc360cccc">TxStreamUpCallback</a> (void *CallbackRef)</td></tr>
<tr class="memdesc:a1d9aa9958743b89bbebf1e4fc360cccc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when the TX stream is up.  <a href="#a1d9aa9958743b89bbebf1e4fc360cccc">More...</a><br/></td></tr>
<tr class="separator:a1d9aa9958743b89bbebf1e4fc360cccc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58d2813cae3d1fee94b6cc619f827911"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a58d2813cae3d1fee94b6cc619f827911">TxStreamDownCallback</a> (void *CallbackRef)</td></tr>
<tr class="memdesc:a58d2813cae3d1fee94b6cc619f827911"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when the TX stream is down.  <a href="#a58d2813cae3d1fee94b6cc619f827911">More...</a><br/></td></tr>
<tr class="separator:a58d2813cae3d1fee94b6cc619f827911"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09a07df362490e4ba97f77a9ce5edd74"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a09a07df362490e4ba97f77a9ce5edd74">StartTxAfterRx</a> (void)</td></tr>
<tr class="memdesc:a09a07df362490e4ba97f77a9ce5edd74"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called to start the TX stream after the RX stream was up and running.  <a href="#a09a07df362490e4ba97f77a9ce5edd74">More...</a><br/></td></tr>
<tr class="separator:a09a07df362490e4ba97f77a9ce5edd74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab458f6ff7df970c30ccf4a575995bc7e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#ab458f6ff7df970c30ccf4a575995bc7e">SetupInterruptSystem</a> (void)</td></tr>
<tr class="memdesc:ab458f6ff7df970c30ccf4a575995bc7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function setups the interrupt system.  <a href="#ab458f6ff7df970c30ccf4a575995bc7e">More...</a><br/></td></tr>
<tr class="separator:ab458f6ff7df970c30ccf4a575995bc7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dce91041c96d24627182e29908c4b77"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a4dce91041c96d24627182e29908c4b77">Xil_AssertCallbackRoutine</a> (u8 *File, s32 Line)</td></tr>
<tr class="memdesc:a4dce91041c96d24627182e29908c4b77"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function asserts a callback error.  <a href="#a4dce91041c96d24627182e29908c4b77">More...</a><br/></td></tr>
<tr class="separator:a4dce91041c96d24627182e29908c4b77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a757a75677d4ddc9b3d14e2f4f3f0332c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a757a75677d4ddc9b3d14e2f4f3f0332c">CamReset</a> (void)</td></tr>
<tr class="memdesc:a757a75677d4ddc9b3d14e2f4f3f0332c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets IMX274 camera sensor.  <a href="#a757a75677d4ddc9b3d14e2f4f3f0332c">More...</a><br/></td></tr>
<tr class="separator:a757a75677d4ddc9b3d14e2f4f3f0332c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27ae0b7f949e11fb7e55c2fe3fda88d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a27ae0b7f949e11fb7e55c2fe3fda88d5">Reset_IP_Pipe</a> (void)</td></tr>
<tr class="memdesc:a27ae0b7f949e11fb7e55c2fe3fda88d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets image processing pipe.  <a href="#a27ae0b7f949e11fb7e55c2fe3fda88d5">More...</a><br/></td></tr>
<tr class="separator:a27ae0b7f949e11fb7e55c2fe3fda88d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
<tr class="memdesc:a840291bc02cba5474a4cb46a9b9566fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function to initialize the video pipleline and process user input.  <a href="#a840291bc02cba5474a4cb46a9b9566fe">More...</a><br/></td></tr>
<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a4dd9957df1df06f40703f124a18c8904"><td class="memItemLeft" align="right" valign="top">XTpg_PatternId&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a4dd9957df1df06f40703f124a18c8904">Pattern</a></td></tr>
<tr class="memdesc:a4dd9957df1df06f40703f124a18c8904"><td class="mdescLeft">&#160;</td><td class="mdescRight">Video pattern.  <a href="#a4dd9957df1df06f40703f124a18c8904">More...</a><br/></td></tr>
<tr class="separator:a4dd9957df1df06f40703f124a18c8904"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d5525edd4cf0958da26f4eb70d24b85"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xmipi__example_8c.html#a2d5525edd4cf0958da26f4eb70d24b85">IsPassThrough</a></td></tr>
<tr class="memdesc:a2d5525edd4cf0958da26f4eb70d24b85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Demo mode 0-colorbar 1-pass through.  <a href="#a2d5525edd4cf0958da26f4eb70d24b85">More...</a><br/></td></tr>
<tr class="separator:a2d5525edd4cf0958da26f4eb70d24b85"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a71bd0b63917e21a117972939353bda39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_CLK_ADDR&#160;&#160;&#160;0x68</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C Clk Address. </p>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a13f636ef2d93d7ee10e421e5f604a510">I2cClk()</a>, and <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a9e3c02ccaf71eeda39e2524f2fb02a41"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_MUX_ADDR&#160;&#160;&#160;0x74</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C Mux Address. </p>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#adcbba64f9438ee7f171f2718c6324474">I2cMux()</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a757a75677d4ddc9b3d14e2f4f3f0332c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CamReset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets IMX274 camera sensor. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="ac0e2b7e475ed03270d5000ad9bd4e923"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CloneTxEdid </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function clones the EDID of the connected sink device to the HDMI RX. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a0d6479cb60c1d56d8f2b0bffd93dbe15"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void config_csi_cap_path </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Main function to initialize the video pipleline and process user input. </p>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if MIPI example was successful else XST_FAILURE</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="pipeline__program_8c.html#a2d3f9370f5f5df1e96d9d2ca884b746e">FrmbufrdDoneCallback()</a>, and <a class="el" href="pipeline__program_8c.html#abf6ef522f31c833d9f931f5d9a8b976c">FrmbufwrDoneCallback()</a>.</p>

</div>
</div>
<a class="anchor" id="adc524e092889eb6825e874b8a94fa38b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EnableColorBar </td>
          <td>(</td>
          <td class="paramtype">XVphy *&#160;</td>
          <td class="paramname"><em>VphyPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XV_HdmiTxSs *&#160;</td>
          <td class="paramname"><em>HdmiTxSsPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVidC_VideoMode&#160;</td>
          <td class="paramname"><em>VideoMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVidC_ColorFormat&#160;</td>
          <td class="paramname"><em>ColorFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVidC_ColorDepth&#160;</td>
          <td class="paramname"><em>Bpc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables the ColorBar. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VphyPtr</td><td>is a pointer to the VPHY core instance. </td></tr>
    <tr><td class="paramname">HdmiTxSsPtr</td><td>is a pointer to the XV_HdmiTxSs instance. </td></tr>
    <tr><td class="paramname">VideoMode</td><td>is the resolution that is to be displayed </td></tr>
    <tr><td class="paramname">ColorFormat</td><td>that can be RGB888 or YUV422 or YUV420 </td></tr>
    <tr><td class="paramname">Bpc</td><td>is the Bits per color that can be 8 or 10 or 12</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xmipi__example_8c.html#a13f636ef2d93d7ee10e421e5f604a510">I2cClk()</a>, and <a class="el" href="xmipi__example_8c.html#a2d5525edd4cf0958da26f4eb70d24b85">IsPassThrough</a>.</p>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a72dc2cf47df7366bd814007b9a38f9a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EnableDSI </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables MIPI DSI SS. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a13f636ef2d93d7ee10e421e5f604a510"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int I2cClk </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>InFreq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>OutFreq</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function setup SI5324 clock generator either in free or locked mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InFreq</td><td>specifies an input frequency for the si5324. </td></tr>
    <tr><td class="paramname">OutFreq</td><td>specifies the output frequency of si5324.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Zero if error in programming external clock ele '1' if success</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Index</td><td>specifies an index for selecting mode frequency. </td></tr>
    <tr><td class="paramname">Mode</td><td>specifies either free or locked mode.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>Zero if error in programming external clock.</li>
<li>One if programmed external clock.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xmipi__example_8c.html#a71bd0b63917e21a117972939353bda39">I2C_CLK_ADDR</a>.</p>

<p>Referenced by <a class="el" href="xmipi__menu_8c.html#adc524e092889eb6825e874b8a94fa38b">EnableColorBar()</a>, and <a class="el" href="xmipi__example_8c.html#a09a07df362490e4ba97f77a9ce5edd74">StartTxAfterRx()</a>.</p>

</div>
</div>
<a class="anchor" id="adcbba64f9438ee7f171f2718c6324474"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int I2cMux </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function setup SI5324 clock generator over IIC. </p>
<dl class="section return"><dt>Returns</dt><dd>The number of bytes sent.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of bytes sent.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xmipi__example_8c.html#a9e3c02ccaf71eeda39e2524f2fb02a41">I2C_MUX_ADDR</a>.</p>

</div>
</div>
<a class="anchor" id="a14b96491d9e48ad8fadbbb391d097ab6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Info </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function outputs the video timing , Audio, Link Status, HDMI RX state of HDMI RX core. </p>
<p>In addition, it also prints information about HDMI TX, and HDMI GT cores.</p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<p>In addition, it also prints information about HDMI TX, and HDMI GT cores.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None.</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a846e1e9bf2b5575fd4dcd158ca6e044b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 InitStreamMuxGpio </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initializes GPIO IP for Stream Switch selection and gets config parameters. </p>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if successful or else XST_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a840291bc02cba5474a4cb46a9b9566fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Main function to initialize the video pipleline and process user input. </p>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if MIPI example was successful else XST_FAILURE</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_csi_ss.html#a9e11a24b49b049a215fe243afd1e9741">XCsiSs::Config</a>, <a class="el" href="pipeline__program_8c.html#a2d0ec58c173704967ea5ce9df76e70e4">config_csi_cap_path()</a>, <a class="el" href="xmipi__example_8c.html#adc524e092889eb6825e874b8a94fa38b">EnableColorBar()</a>, <a class="el" href="pipeline__program_8c.html#acd55ed8c8232ae426bf8d3d578e03741">EnableDSI()</a>, <a class="el" href="xmipi__example_8c.html#a71bd0b63917e21a117972939353bda39">I2C_CLK_ADDR</a>, <a class="el" href="function__prototype_8c.html#a571466dbec30928cd622090965a7ef0f">InitDSI()</a>, <a class="el" href="function__prototype_8c.html#a9af254929ec07e0b8e29ff28e18ec709">InitializeCsiRxSs()</a>, <a class="el" href="function__prototype_8c.html#a8602d0639b2c2908365d62b96e5d1439">InitIIC()</a>, <a class="el" href="pipeline__program_8c.html#ac06ed3176952d39fe028b9b13cdcbc38">InitImageProcessingPipe()</a>, <a class="el" href="pipeline__program_8c.html#a846e1e9bf2b5575fd4dcd158ca6e044b">InitStreamMuxGpio()</a>, <a class="el" href="xmipi__example_8c.html#a2d5525edd4cf0958da26f4eb70d24b85">IsPassThrough</a>, <a class="el" href="xmipi__example_8c.html#a4dd9957df1df06f40703f124a18c8904">Pattern</a>, <a class="el" href="pipeline__program_8c.html#ae0af0a350e50fea795e63a85a698c2c7">PrintPipeConfig()</a>, <a class="el" href="xmipi__example_8c.html#a27ae0b7f949e11fb7e55c2fe3fda88d5">Reset_IP_Pipe()</a>, <a class="el" href="xmipi__example_8c.html#a815be228f3c0f5df1cb4624e60e1c5d3">ResetTpg()</a>, <a class="el" href="pipeline__program_8c.html#afcfc70f9d157a135796b76f00bef36c4">SelectDSIOutput()</a>, <a class="el" href="pipeline__program_8c.html#a56f64108083ce8ee138d8f0448b28fd9">SelectHDMIOutput()</a>, <a class="el" href="pipeline__program_8c.html#a27a98e798ed33a22a64a35485322bbdc">SetColorDepth()</a>, <a class="el" href="pipeline__program_8c.html#a9909ac1b3c8acfa727d8b5d0bd7eda39">SetupCameraSensor()</a>, <a class="el" href="function__prototype_8c.html#a0e803ea72f41466ba56bd78511996d8a">SetupDSI()</a>, <a class="el" href="xmipi__example_8c.html#ab458f6ff7df970c30ccf4a575995bc7e">SetupInterruptSystem()</a>, <a class="el" href="pipeline__program_8c.html#a3aea2e2961d7970a2bab30ad376b312b">StartSensor()</a>, <a class="el" href="xmipi__example_8c.html#ac493d3aecd3ba27b1c359fac5403bcc4">TxConnectCallback()</a>, <a class="el" href="xmipi__example_8c.html#a1d9aa9958743b89bbebf1e4fc360cccc">TxStreamUpCallback()</a>, <a class="el" href="xmipi__example_8c.html#a867454807fce16217777a7c356010b5a">TxVsCallback()</a>, <a class="el" href="xmipi__example_8c.html#ac75e4a2188fc703e5595b9da7b9ae87d">VphyHdmiTxInitCallback()</a>, <a class="el" href="xmipi__example_8c.html#abf58ba0d5d5eb70e9e1af8c2a786298a">VphyHdmiTxReadyCallback()</a>, <a class="el" href="group__csiss.html#ga7144ae932dcf2ddf7ad15e7ec7565bba">XCsiSs_IntrHandler()</a>, <a class="el" href="xmipi__example_8c.html#a4dce91041c96d24627182e29908c4b77">Xil_AssertCallbackRoutine()</a>, <a class="el" href="xmipi__menu_8c.html#af0db91312e15cacbd685acc33f8bfbe4">XMipi_MenuInitialize()</a>, <a class="el" href="xmipi__menu_8c.html#af9a8f7bf04b219aa044a98795614f300">XMipi_MenuProcess()</a>, and <a class="el" href="xmipi__example_8c.html#a4a5ac3a38401a55659af4cf0a4a765b0">XV_ConfigTpg()</a>.</p>

</div>
</div>
<a class="anchor" id="a9b0d2b849482971534222077f2949418"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ReportStreamMode </td>
          <td>(</td>
          <td class="paramtype">XV_HdmiTxSs *&#160;</td>
          <td class="paramname"><em>HdmiTxSsPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>IsPassThrough</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function reports the stream mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">HdmiTxSsPtr</td><td>is a pointer to the XV_HdmiTxSs instance. </td></tr>
    <tr><td class="paramname">IsPassThrough</td><td>is a flag to represent passthrough or colorbar mode.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a1d9aa9958743b89bbebf1e4fc360cccc">TxStreamUpCallback()</a>.</p>

</div>
</div>
<a class="anchor" id="a27ae0b7f949e11fb7e55c2fe3fda88d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Reset_IP_Pipe </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets image processing pipe. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a815be228f3c0f5df1cb4624e60e1c5d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ResetTpg </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets TPG IP. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, and <a class="el" href="xmipi__example_8c.html#a09a07df362490e4ba97f77a9ce5edd74">StartTxAfterRx()</a>.</p>

</div>
</div>
<a class="anchor" id="afcfc70f9d157a135796b76f00bef36c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SelectDSIOutput </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function programs GPIO to 1 to select MIPI DSI SS Stream Path in AXI- Stream switch. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<p>This function programs GPIO to 1 to select MIPI DSI SS Stream Path in AXI- Stream switch.</p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a56f64108083ce8ee138d8f0448b28fd9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SelectHDMIOutput </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function programs GPIO to '0' to select HDMI Stream path in AXI-Stream switch. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<p>This function programs GPIO to '0' to select HDMI Stream path in AXI-Stream switch.</p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="ab458f6ff7df970c30ccf4a575995bc7e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SetupInterruptSystem </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function setups the interrupt system. </p>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if interrupt setup was successful else error code</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a09a07df362490e4ba97f77a9ce5edd74"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StartTxAfterRx </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called to start the TX stream after the RX stream was up and running. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xmipi__example_8c.html#a13f636ef2d93d7ee10e421e5f604a510">I2cClk()</a>, <a class="el" href="xmipi__example_8c.html#a815be228f3c0f5df1cb4624e60e1c5d3">ResetTpg()</a>, and <a class="el" href="xmipi__example_8c.html#a4a5ac3a38401a55659af4cf0a4a765b0">XV_ConfigTpg()</a>.</p>

</div>
</div>
<a class="anchor" id="ac493d3aecd3ba27b1c359fac5403bcc4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TxConnectCallback </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called when a TX connect event has occurred. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a callback function reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xmipi__example_8c.html#a2d5525edd4cf0958da26f4eb70d24b85">IsPassThrough</a>.</p>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a58d2813cae3d1fee94b6cc619f827911"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TxStreamDownCallback </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called when the TX stream is down. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a callback function reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a1d9aa9958743b89bbebf1e4fc360cccc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TxStreamUpCallback </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called when the TX stream is up. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a callback function reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xmipi__example_8c.html#a2d5525edd4cf0958da26f4eb70d24b85">IsPassThrough</a>, and <a class="el" href="xmipi__example_8c.html#a9b0d2b849482971534222077f2949418">ReportStreamMode()</a>.</p>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a867454807fce16217777a7c356010b5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TxVsCallback </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called when a TX vsync has occurred. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a callback function reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="ac75e4a2188fc703e5595b9da7b9ae87d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VphyHdmiTxInitCallback </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called when the GT TX reference input clock has changed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a callback function reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="abf58ba0d5d5eb70e9e1af8c2a786298a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VphyHdmiTxReadyCallback </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called when the GT TX has been initialized. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a callback function reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a4dce91041c96d24627182e29908c4b77"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Xil_AssertCallbackRoutine </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>File</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">s32&#160;</td>
          <td class="paramname"><em>Line</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function asserts a callback error. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">File</td><td>is current file name. </td></tr>
    <tr><td class="paramname">Line</td><td>is line number of the asserted callback.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a4a5ac3a38401a55659af4cf0a4a765b0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_ConfigTpg </td>
          <td>(</td>
          <td class="paramtype">XV_tpg *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function generates video pattern. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>TPG Instance Pointer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xmipi__example_8c.html#a4dd9957df1df06f40703f124a18c8904">Pattern</a>.</p>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, and <a class="el" href="xmipi__example_8c.html#a09a07df362490e4ba97f77a9ce5edd74">StartTxAfterRx()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a2d5525edd4cf0958da26f4eb70d24b85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 IsPassThrough</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Demo mode 0-colorbar 1-pass through. </p>

<p>Referenced by <a class="el" href="xmipi__menu_8c.html#adc524e092889eb6825e874b8a94fa38b">EnableColorBar()</a>, <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, <a class="el" href="xmipi__example_8c.html#ac493d3aecd3ba27b1c359fac5403bcc4">TxConnectCallback()</a>, and <a class="el" href="xmipi__example_8c.html#a1d9aa9958743b89bbebf1e4fc360cccc">TxStreamUpCallback()</a>.</p>

</div>
</div>
<a class="anchor" id="a4dd9957df1df06f40703f124a18c8904"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XTpg_PatternId Pattern</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Video pattern. </p>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>, and <a class="el" href="xmipi__menu_8c.html#a4a5ac3a38401a55659af4cf0a4a765b0">XV_ConfigTpg()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
